// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   Service.java

package org.quickserver.net;


public interface Service
{

    public abstract boolean initService(Object aobj[]);

    public abstract boolean startService();

    public abstract boolean stopService();

    public abstract boolean suspendService();

    public abstract boolean resumeService();

    public abstract String info();

    public abstract int getServiceState();

    public abstract Throwable getServiceError();

    public static final int UNKNOWN = -1;
    public static final int STOPPED = 0;
    public static final int INIT = 1;
    public static final int SUSPENDED = 2;
    public static final int RUNNING = 5;
}
